import React, { Component } from 'react';
import { withRouter,NavLink,Switch,Redirect,Route} from 'react-router-dom';
class View extends Component {

    render(){
        return(
            <div>
                <NavLink to="/">这是首页</NavLink><br/>
                <NavLink to="/todos">这是todos</NavLink><br/>
                <NavLink to="/filter">这是filter</NavLink><br/>
                这是todo
            </div>
        )
    }
}
export default View;
